package com.lefu.risk.storm.bean;

/**
 * Created by mwang on 2017/1/4.
 */
public class DataInfo {
    public DataInfo(String id, String terminalNumber, String transactionType, String cardNumber, String returnCode, String exceptionCode, String transactionHour, String unknownField1, String ip, String baseStation, String businessCode, String unknownField2) {
        this.id = id;
        this.terminalNumber = terminalNumber;
        this.transactionType = transactionType;
        this.cardNumber = cardNumber;
        this.returnCode = returnCode;
        this.exceptionCode = exceptionCode;
        this.transactionHour = transactionHour;
        this.unknownField1 = unknownField1;
        this.ip = ip;
        this.baseStation = baseStation;
        this.businessCode = businessCode;
        this.unknownField2 = unknownField2;
    }

    //id
    private String id;
    //终端号
    private String terminalNumber;
    //交易类型
    private String transactionType;
    //卡号
    private String cardNumber;
    //返回码
    private String returnCode;
    //异常码
    private String exceptionCode;
    //交易时间
    private String transactionHour;
    //Unknown field
    private String unknownField1;
    //IP
    private String ip;
    //基站
    private String baseStation;
    //商编
    private String businessCode;
    //Unknown field
    private String unknownField2;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTerminalNumber() {
        return terminalNumber;
    }

    public void setTerminalNumber(String terminalNumber) {
        this.terminalNumber = terminalNumber;
    }

    public String getTransactionType() {
        return transactionType;
    }

    public void setTransactionType(String transactionType) {
        this.transactionType = transactionType;
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    public String getReturnCode() {
        return returnCode;
    }

    public void setReturnCode(String returnCode) {
        this.returnCode = returnCode;
    }

    public String getExceptionCode() {
        return exceptionCode;
    }

    public void setExceptionCode(String exceptionCode) {
        this.exceptionCode = exceptionCode;
    }

    public String getTransactionHour() {
        return transactionHour;
    }

    public void setTransactionHour(String transactionHour) {
        this.transactionHour = transactionHour;
    }

    public String getUnknownField1() {
        return unknownField1;
    }

    public void setUnknownField1(String unknownField1) {
        this.unknownField1 = unknownField1;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getBaseStation() {
        return baseStation;
    }

    public void setBaseStation(String baseStation) {
        this.baseStation = baseStation;
    }

    public String getBusinessCode() {
        return businessCode;
    }

    public void setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
    }

    public String getUnknownField2() {
        return unknownField2;
    }

    public void setUnknownField2(String unknownField2) {
        this.unknownField2 = unknownField2;
    }

    @Override
    public String toString() {
        return "DataInfo{" +
                "id='" + id + '\'' +
                ", terminalNumber='" + terminalNumber + '\'' +
                ", transactionType='" + transactionType + '\'' +
                ", cardNumber='" + cardNumber + '\'' +
                ", returnCode='" + returnCode + '\'' +
                ", exceptionCode='" + exceptionCode + '\'' +
                ", transactionHour='" + transactionHour + '\'' +
                ", unknownField1='" + unknownField1 + '\'' +
                ", ip='" + ip + '\'' +
                ", baseStation='" + baseStation + '\'' +
                ", businessCode='" + businessCode + '\'' +
                ", unknownField2='" + unknownField2 + '\'' +
                '}';
    }
}
